using System;
using System.Collections.Generic;
using System.Text;

namespace HREngine.Bots
{
	class Sim_SCH_231 : SimTemplate //* 新生刺头 Intrepid Initiate
	{
		//<b>Spellburst:</b> Gain +2_Attack.
		//<b>法术迸发：</b>获得+2攻击力。
		public override void onCardIsGoingToBePlayed(Playfield p, Handmanager.Handcard hc, bool ownplay, Minion m)
		{
			if (m.own == ownplay && m.Spellburst && hc.card.type == CardDB.cardtype.SPELL)
			{
				m.Spellburst = false;
				p.minionGetBuffed(m, 2, 0);
				p.evaluatePenality -= 8;
			}
		}
		
	}
}
